package cn.itcast.service;


import cn.itcast.pojo.Weather;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("weather-service")
public interface UserClient {

    @GetMapping("/weather/getCityWeatherInfo/{cityName}")
    public List<Weather> getCityWeatherInfo(@PathVariable("cityName") String cityName);




}
